<?php
return array(
	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
	'name'=>'',
        'language'=>'es',
        'sourceLanguage'=>'es',
        'charset'=>'utf-8',
        
	// preloading 'log' component
	'preload'=>array('bootstrap','log'),

	// autoloading model and component classes
	'import'=>array(
		'application.models.*',
		'application.components.*',
                'application.widgets.bootstrap.*',
	),

	'modules'=>array(
		'gii'=>array(
			'class'=>'system.gii.GiiModule',
			'password'=>'1234',
			'ipFilters'=>array('127.0.0.1','::1'),
                        'generatorPaths'=>array(
                        'bootstrap.gii', // since 0.9.1
                        ),
		),
	),

	// application components
	'components'=>array(
		'bootstrap'=>array(
            'class'=>'application.extensions.bootstrap.components.Bootstrap', // assuming you extracted bootstrap under extensions
        ),
         'mail' => array(
			 'class' => 'YiiMail',
			 'transportType' => 'php',
			 'transportType' => 'smtp',
			 'transportOptions'=>array(
			 'host'=>'gmail.com',
			 //'encryption'=>'tls',
			 'username'=>'abricolabs@gmail.com',
			 'password'=>'3108389rimaS!',
			 'port'=>25,
			 ),
			 'logging' => true,
			 'dryRun' => false
			 ),
		
		'db'=>array(
			'connectionString' => 'pgsql:host=localhost;port=5432;dbname=fichas',
			'emulatePrepare' => true,
			'username' => 'postgres',
			'password' => '1234',
			'charset' => 'utf8',
		),
		
		'errorHandler'=>array(
			// use 'site/error' action to display errors
			'errorAction'=>'site/error',
		),
		'log'=>array(
			'class'=>'CLogRouter',
			'routes'=>array(
				array(
					'class'=>'CFileLogRoute',
					'levels'=>'error, warning',
				),
			),
		),
	),
	// application-level parameters that can be accessed
	// using Yii::app()->params['paramName']
	'params'=>array(
		// this is used in contact page
		'adminEmail'=>'webmaster@example.com',
	),
);